<!-- @ftlvariable name="zkServiceType" type="com.gxp.web.domain.ZkServiceType" -->
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改服务类型')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <section class="section-content">
        <div class="row">
            <div class="col-sm-12 about">
                <div class="ibox float-e-margins">
                    <div class="ibox-title ibox-title-gray dashboard-header">
                        <h5>基本资料</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="nav-tabs-custom">
                            <ul class="nav nav-tabs">
                                <li class="active"><a href="#request_info" data-toggle="tab" aria-expanded="true">Request信息</a></li>
                                <li><a href="#modify_sample" data-toggle="tab" aria-expanded="false">Sample信息</a></li>
                                <li><a href="#modify_service" data-toggle="tab" aria-expanded="false">Service信息</a></li>
                            </ul>
                            <div class="tab-content">
                                <!--Request信息-->
                                <div class="tab-pane active" id="request_info" th:object="${user}">
                                    <form class="form-horizontal" id="form-request-edit">

                                    </form>
                                </div>

                                <!--修改Sample-->
                                <div class="tab-pane" id="modify_sample">
                                    <form class="form-horizontal" id="form-sample-edit">

                                    </form>
                                </div>

                                <!--修改Service-->
                                <div class="tab-pane" id="modify_sample">
                                    <form class="form-horizontal" id="form-sample-edit">


                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/request";
    $("#form-request-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            var data = $('#form-request-edit').serializeArray();
            $.operate.save(prefix + "/edit", data);
        }
    }
</script>
</body>
</html>